<template>
  <div id="tui-mark-note">
    <div class="title">
        <i class="el-icon-edit"></i>
        <span>笔记</span>
    </div>
    <editor
      :initialValue="editorText"
      initialEditType='markdown'
      height="520px"
      previewStyle="tab"
    />
  </div>
</template>

<script>
import "@toast-ui/editor/dist/toastui-editor.css";
import { Editor } from "@toast-ui/vue-editor";

export default {
  data() {
    return {
      editorText:"## asd"
    };
  },
  components: {
    editor: Editor
  },
  created() {
  },
  methods: {
  }
};
</script>

<style  scoped>
#tui-mark-note .title{
    font-size: 14px;
    font-weight: bold;
    line-height: 30px;
    margin-left: 10px;
}
</style>
